package com.wgc.goods.mapper;

import com.wgc.goods.domain.ProductDetails;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
* @author 15776
* @description 针对表【goods_product_details(商品详情表)】的数据库操作Mapper
* @createDate 2024-07-30 12:24:38
* @Entity com.wgc.goods.domain.ProductDetails
*/
public interface ProductDetailsMapper extends BaseMapper<ProductDetails> {
    Integer reduceStock(@Param("productId") Long productId, @Param("num") Integer num);
}




